package org.example.myleet.p648;

import org.example.myleet.Utils.Assert;

import java.util.Arrays;

public class Main {
    public static void main(String[] args) {
        Solution solution = new Solution();
        Assert.isTrue("the cat was rat by the bat".equals(solution.replaceWords(Arrays.asList("cat","bat","rat"), "the cattle was rattled by the battery")));
        Assert.isTrue("a a b c".equals(solution.replaceWords(Arrays.asList("a","b","c"), "aadsfasf absbs bbab cadsfafs")));
    }
}
